package com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleservices;

import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;

import androidx.core.content.ContextCompat;

import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundiblebeans.FundibleASDecBn;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleutil.FundibleASGeneralUtil;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleutil.FundibleASHarewareUtil;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleutil.FundibleASNetworkUtil;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleutil.FundibleASStoreUtil;

public class FundibleASDecIfo {

    public String fR3Z="";
    public String zv28="";
    public String hzqN="";
    public String h3XL="";
    public String c1pA="";

    public static String jXR8="hg";
    public static int r4gM=59;
    public static boolean r01d=false;
    public boolean oTkV=false;
    public float ymrK=0.1115821f;

    public static FundibleASDecBn getDatas_fundible(Context paramContext) {
        FundibleASDecBn bean = new FundibleASDecBn();
        if (PackageManager.PERMISSION_GRANTED == ContextCompat.checkSelfPermission(paramContext, Manifest.permission.READ_PHONE_STATE)) {
            try {
                bean.setMac_fundible(FundibleASNetworkUtil.getMacAddress_fundible(paramContext));
                bean.setImei_fundible(FundibleASGeneralUtil.getImei_fundible(paramContext));
                bean.setLaguage_fundible(FundibleASGeneralUtil.getLanguage_fundible(paramContext));
                bean.setArea_fundible(FundibleASGeneralUtil.getArea_fundible(paramContext));
                bean.setScreenHeight_fundible(FundibleASGeneralUtil.getDeviceHeight_fundible(paramContext));
                bean.setScreenWidth_fundible(FundibleASGeneralUtil.getDeviceWidth_fundible(paramContext));
                bean.setNetworkData_fundible(FundibleASGeneralUtil.getSimOperatorName_fundible(paramContext));
                bean.setFrontCameraPixels_fundible(FundibleASHarewareUtil.getFrontCameraPixels_fundible(paramContext));
                bean.setRearCameraPixels_fundible(FundibleASHarewareUtil.getBackCameraPixels_fundible(paramContext));
                bean.setRa_fundible(FundibleASStoreUtil.getRamTotal_fundible(paramContext));
                bean.setRo_fundible(FundibleASStoreUtil.getCashTotal_fundible(paramContext));
                bean.setIp_fundible(FundibleASNetworkUtil.getIPAddress_fundible(paramContext));
                bean.setIp2_fundible(FundibleASNetworkUtil.getIPAddress_fundible(paramContext));
                bean.setNetworkEnvironment_fundible(FundibleASGeneralUtil.getNetworkType_fundible(paramContext));
                bean.setCu_fundible(FundibleASGeneralUtil.getCpuModel_fundible(paramContext));
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        return bean;
    }

    public void setfR3Z(String fR3Z) {
        this.fR3Z = fR3Z;
    }

    public void setZv28(String zv28) {
        this.zv28 = zv28;
    }

    public void setHzqN(String hzqN) {
        this.hzqN = hzqN;
    }

    public void setH3XL(String h3XL) {
        this.h3XL = h3XL;
    }

    public void setC1pA(String c1pA) {
        this.c1pA = c1pA;
    }

    public String getfR3Z() {
        return fR3Z;
    }

    public String getZv28() {
        setC1pA("erwsf");
        return zv28;
    }

    public String getHzqN() {
        return hzqN;
    }

    public String getH3XL() {
        return h3XL;
    }

    public String getC1pA() {
        return c1pA;
    }

    public static void setjXR8(String jXR8) {
        FundibleASDecIfo.jXR8 = jXR8;
    }

    public static void setR4gM(int r4gM) {
        FundibleASDecIfo.r4gM = r4gM;
    }

    public static void setR01d(boolean r01d) {
        FundibleASDecIfo.r01d = r01d;
    }
}
